<!-- search begin -->
<div id="testStore"></div>
<form method="post" id="suche_name"	action="<?php 
$searchLink = array('module'=>'website','controller'=>'recipe','action'=>'index');
print $this->url($searchLink,'recipes',true); ?>">
<fieldset>
	<!-- hidden -->
	<legend>Rezepte:</legend>
	<!-- visible -->
	<label for="search">Cocktail:</label>
	<!-- text input w/ autocompletion -->
	<input type="text" name="search" id="search" value="" />
	<input type="hidden" name="search" id="search_backup" value="" />
	<!-- submit button -->
	<input type="submit" id="search_button" value="" 
		style="background-image: url('<?php print $this->baseUrl();?>/img/suchen-button.png');"
		onclick="dojo.byId('search_backup').value = dojo.byId('search').value;" />
	<!-- search options -->
	<div class="search_options">
		<!-- Name --> <input id="search_type1" name="search_type" value="name" checked="checked" type="radio" class="left" onclick="dojo.byId('search_type_value').value=this.value;" />
		<label for="search_type1">&nbsp;über Name</label> 
		<!-- Zutat --> <input id="search_type2" name="search_type" value="ingredient" type="radio" style="margin-left: 3em;" class="left" onclick="dojo.byId('search_type_value').value=this.value;" /> 
		<label for="search_type2">&nbsp;über Zutat</label> 
		<!-- Tag --> <input id="search_type3" name="search_type" value="tag" type="radio" style="margin-left: 3em;" class="left" onclick="dojo.byId('search_type_value').value=this.value;" /> 
		<label for="search_type3">&nbsp;über Schlagwort / Tag</label>
		<!-- needed in TestNameReadStore.js for selection of name, tag or ingredient -->
		<input type="hidden" id="search_type_value" name="search_type_value" value="name" />
	</div>
</fieldset>
</form>
<!-- search end -->
<hr class="abstand_oben_doppelt abstand_unten_doppelt" />
